import request from '@/utils/request'
export const getsendMessageapi = params => request.get('/mbm-microservice-biz/mbm/archives/buildingSet/sendMessage/flag/page', { params }) 
export const postchangestatusapi = data => request.post('/mbm-microservice-biz/mbm/archives/buildingSet/sendMessage/flag/update', data)
// 短信开关分页列表
export const getmessagelistapi = params => request.get('/mbm-microservice-biz/mbm/customer/sendMessage/flag/page', { params })
// 更新短信开关状态
export const postusermessageflag = data => request.post('/mbm-microservice-biz/mbm/customer/sendMessage/flag/update', data)
// 重置某建筑群下所有用户短信开关为开
export const postarrusermessage=buildingsId=>request.post(`/mbm-microservice-biz/mbm/customer/reset/message/flag?buildingsId=${buildingsId}`)